Skip to content

Aptitude & Insight Point ​

Aptitude is the player's experience reservoir, and Insight Points are the spendable skill points. Together they form Epiphany's resource system.

This page is for datapack authors and covers behavior rewards, random ranges, first-time rewards, and how aptitude converts into Insight Points. For editing the growth curve, see Config. For third-party behavior extensions, see Registering a New Aptitude Source.

Core Flow ​

File Location ​

Aptitude mappings are defined as per-behavior datapack JSON files:

data/<namespace>/epiphany/aptitude/<behavior>.json
  • Each file represents one behavior type (e.g., kill_entity, mine_block, experience_level_up)

  • Behavior ID = <namespace>:<relative path>. For example, data/mymod/epiphany/aptitude/fishing.json → mymod:fishing

  • Behavior IDs are strictly tied to listener requirements — the 16 built-in behaviors have fixed filenames (see table below). Other IDs only take effect when a third-party mod registers a corresponding listener.

Full Example ​

jsonc
{
    "default": [2, 5],                         // optional, defaults to 0; randomly grants 2–5 aptitude
    "specials": [                              // optional, defaults to empty
        {
            "target": "minecraft:zombie",      // required; plain id or "#tag"
            "reward": [3, 7],                  // optional; falls back to default
            "first_reward": 50                 // grants an extra fixed 50 aptitude the first time
        },
        {
            "target": "minecraft:wither",
            "reward": [80, 120],
            "first_reward": { "min": 400, "max": 600 }
        }
    ],
    "exclude": [                               // optional, defaults to empty
        "#epiphany:friendly",                  // if matched, skip this grant entirely
        "minecraft:villager"                   // plain id or "#tag"
    ]
}

Minimal form (only a default reward):

jsonc
{ "default": 2 }   // e.g., experience_level_up.json — +2 aptitude per level-up

Fixed Amounts and Random Ranges ​

default, reward, and first_reward all support these three formats:

FormatEffect
5Grants exactly 5 aptitude each time
[2, 5]Randomly chooses 2, 3, 4, or 5 with equal probability each time
{ "min": 2, "max": 5 }Equivalent to [2, 5]

Ranges include both endpoints and accept only nonnegative integers, with the minimum no greater than the maximum. [5, 5] is equivalent to the fixed value 5; existing fixed-value configurations remain valid.

Each trigger rolls the regular reward and any first-time reward available for that trigger separately, adds them together, then applies the player's multiplier. For example, reward: [3, 7] with first_reward: 50 grants 53–57 aptitude the first time and 3–7 on subsequent triggers (with a multiplier of 1.0).

Field Reference ​

default (optional) ​

  • Type: fixed integer or random range
  • Default: 0
  • The aptitude granted when the trigger target is neither in specials nor in exclude

TIP

If default = 0 and no specials match, the behavior grants no aptitude at all.

specials (optional) ​

  • Type: list of SpecialEntry
  • Default: empty
  • Per-target reward rules that override the default

Each SpecialEntry has three fields:

FieldTypeRequiredDescription
targetString✅Target reference: a plain id ("minecraft:zombie") or tag reference ("#minecraft:undead")
rewardFixed integer or random rangeRegular aptitude reward for this target; falls back to default when omitted
first_rewardFixed integer or random rangeExtra reward for each player's first grant for this target under this behavior, added to reward

If multiple entries match the same target, only the first matching entry in the list is used. Place specific IDs before broader tags.

first_reward Usage

first_reward is an extra bonus for "the first time a player does something." Typical use cases:

  • First boss kill: { "target": "minecraft:wither", "reward": 100, "first_reward": 500 } → the first wither kill grants 600 (100 + 500); subsequent kills grant only 100
  • First time entering a rare biome: same logic

First-time rewards are tracked by player, behavior ID, and concrete target ID, and persist across death, respawn, dimension changes, and reconnecting. When using a tag, each distinct target within the tag has its own first-time reward.

Reaching the point cap, or a total reward of 0 after applying the multiplier and rounding, does not consume the first-time reward. If the regular reward is successfully granted, the first-time reward counts as claimed even if its random roll was 0.

exclude (optional) ​

  • Type: list of String
  • Default: empty
  • Blacklist: if matched, the grant is completely skipped (bypasses both specials and default evaluation)
  • Each entry is the same format as target — plain id or "#tag"

exclude has "short-circuit" semantics

exclude is evaluated before specials: if any exclude entry matches the target, the entire grant immediately terminates, even if a special also matches that target. In other words, exclude has the highest priority.

Use case: "no aptitude for any friendly mobs" —"exclude": ["#epiphany:friendly"] — no need to list each one individually.

Tags & Registry Relationship ​

Both specials[].target and exclude[] support the "#tag" format (standard Minecraft tag references). However, to correctly resolve a tag, the system needs to know which registry the target belongs to:

  • Built-in behaviors have fixed registries (see table below) — datapack authors don't need to worry about this; just use the correct tag namespace
  • If a behavior has no natural registry (e.g., experience_level_up), the "#tag" format never matches and will fall back to default or grant nothing

Built-in Behaviors (16 types) ​

Below are the 16 behaviors that Epiphany provides listeners for natively. The filename in your datapack must match the ID below for the listener to find your configuration.

General Behaviors (Vanilla Events) ​

Behavior IDTriggerTarget FormatRegistry#tag Support
epiphany:kill_entityPlayer kills an entityentity type id (minecraft:zombie)ENTITY_TYPE✅
epiphany:mine_blockPlayer mines a blockblock id (minecraft:diamond_ore)BLOCK✅
epiphany:advancement_earnPlayer earns an advancementadvancement id (minecraft:end/kill_dragon)—❌
epiphany:experience_level_upPlayer gains an experience levelnone (placeholder)—❌
epiphany:enter_dimensionPlayer changes dimensiondimension id (minecraft:the_nether)—❌

experience_level_up only uses default

experience_level_up has no natural target (each level-up is just a number change). The listener calls grant once per level, using a placeholder target. So datapacks only need to write:

jsonc
{ "default": 2 }

specials and exclude are ineffective (the target is always epiphany:_).

Item Acquisition Behaviors ​

Behavior IDTriggerTarget FormatRegistry#tag Support
epiphany:pickup_itemPlayer successfully picks up a ground itemitem id (minecraft:apple)ITEM✅
epiphany:craft_itemPlayer completes a craftitem id (minecraft:crafting_table)ITEM✅
epiphany:smelt_itemPlayer takes a smelted resultitem id (minecraft:iron_ingot)ITEM✅

Item behaviors call grant once per event; the reward is not multiplied by the ItemStack count. smelt_item covers a player taking a smelting result, but does not guarantee coverage for hoppers, automated machines, or items internally generated by other mods.

Recommended pickup_item Configuration

Players can repeatedly drop and re-pick items, or obtain them from item farms. To prevent aptitude farming, keep pickup_item's default at 0 and configure only first_reward for items worth recording:

jsonc
{
    "default": 0,
    "specials": [
        { "target": "minecraft:apple", "first_reward": 5 }
    ]
}

Each player's first_reward for a target is granted only once and is persisted.

State-Tracking Behaviors (Require Persistent Comparison) ​

Behavior IDTriggerTarget FormatRegistry#tag Support
epiphany:enter_biomePlayer's current biome changesbiome idBIOME (from level registry)✅
epiphany:enter_structurePlayer's set of containing structures changesstructure id or epiphany:none (not in any structure)STRUCTURE (from level registry)✅

Special Target for enter_structure

When the player is not inside any structure, the listener sends epiphany:none as the target (a sentinel value). You can use this to implement "exploration reward only while inside structures" logic:

jsonc
{
    "default": 1,
    "specials": [
        { "target": "epiphany:none", "reward": 0 }  // no aptitude when not in a structure
    ]
}

Epiphany Internal Behaviors ​

Behavior IDTriggerTarget Format
epiphany:module_selectedModule selected (ModuleSelectedEvent)module id
epiphany:module_completedModule completed (ModuleCompletedEvent)module id
epiphany:insight_selectedInsight unlocked (InsightSelectedEvent)insight id
epiphany:epiphany_selectedEpiphany activated (EpiphanySelectedEvent)epiphany id

FTB Quests Integration (Soft Dependency) ​

Behavior IDTriggerTarget FormatNotes
epiphany:ftbq_quest_completeFTB Quests quest completedFTBQ quest hex string idRequires FTB Quests installed
epiphany:ftbq_chapter_completeFTB Quests chapter completedFTBQ chapter hex string idSame as above

When FTB Quests is not loaded, these two listeners will not register (soft dependency isolation), and the corresponding JSONs are simply ignored without causing crashes.

Configuration ​

Behavior JSON files determine how much aptitude is granted; config/epiphany-progression-server.toml determines how much aptitude each Insight Point costs and how many points a player can earn.

Config OptionDefault RulePurpose
maxTotalInsightPoints-1 (unlimited)Limits the sum of spent and unspent Insight Points
curveFirst point costs 10, increasing by 1 per pointDefines the aptitude cost of each point, with support for segmented functions

See Config · Growth Curve for the five function types, their parameters, and a complete TOML example.

Aptitude Gain Multiplier ​

The aptitude gain multiplier is the player attribute epiphany:aptitude_gain_multiplier, rather than a TOML setting.

PropertyDescription
Attribute IDepiphany:aptitude_gain_multiplier
Default1.0 (1D)
Range0.0 ~ 100.0
ApplicationAdd the regular and first-time rewards, multiply by the player's effective multiplier, then round down
  • Other mods / items can adjust each player's multiplier using vanilla AttributeModifier
  • Server admins can adjust the base value with the vanilla /attribute command
  • 0.0 disables datapack-source gains for that player; 2.0 doubles them

For example, if the regular reward rolls 3, the first-time reward rolls 10, and the player's multiplier is 1.5, the final grant is ⌊(3 + 10) × 1.5⌋ = 19 aptitude. The multiplier is applied once, after adding the rewards together.

Aptitude → Insight Point Formula ​

Let n = spent Insight Points + unspent Insight Points. The growth curve f(n) gives the aptitude required to earn the next point. Each time a point is earned, its cost is deducted and the next cost is calculated using the new total. Any remaining aptitude is retained.

The default curve is f(n) = 10 + n:

Current Total Points nAptitude Needed for Next Point
010
111
212
515
1020
5060

For example, starting from zero and gaining 25 aptitude at once deducts 10 for the first point, then 11 for the second, leaving 4 aptitude.

The curve supports constant, linear, quadratic, exponential, and convergent functions to set different progression rates for different intervals. Each point's actual cost is rounded up. In the configuration, from = 0 corresponds to the first point, and from = 10 to the eleventh.

Total Insight Point Cap ​

maxTotalInsightPoints limits each player's spent + unspent Insight Points. -1 means unlimited, and 0 prevents new points from being gained.

For example, with a cap of 50, a player who has spent 40 points and has 9 unspent can earn only 1 more. Even a large aptitude grant will only be processed up to the 50th point, with the remaining aptitude discarded. Further aptitude and point gains then stop. Points added directly by commands and rewards are also subject to this limit.

Normal spending and the corresponding refunds preserve the total, so they neither change the growth curve tier nor make room to earn more points. Lowering the cap preserves existing data; raising it allows progression to resume. Direct point deductions by admins or reversing point rewards can reduce the total.

Where Insight Points Go ​

Insight Points have two spending destinations, both handled by the system:

Spending ScenarioAmountPoint Changes
Selecting a modulemoduleSelectCost (default 1)Available points decrease by the cost; spent points increase by the same amount
Unlocking an insightPer-insight cost field (default 1)Same as above

Next Steps ​